package com.nexus.core.sys.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.nexus.core.query.annotation.QueryCondition;
import com.nexus.core.query.annotation.QueryType;
import com.nexus.core.service.dto.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 租户
 * @Date 2025/7/29 15:01
 * @Author luzhengning
 **/
@Data
@EqualsAndHashCode(callSuper = false)
public class SysTenantOrgDTO extends BaseDTO {
    /**
     * 租户
     * @Date 2025/7/29 15:01
     * @Author luzhengning
     **/
    @ExcelProperty("租户")
    @QueryCondition(tableField = "tenant.id", type = QueryType.LIKE)
    private SysTenantDTO tenant;

    /**
     * 组织机构
     * @Date 2025/7/29 15:08
     * @Author luzhengning
     **/
    @ExcelProperty("组织机构")
    @QueryCondition(tableField = "org.id", type = QueryType.LIKE)
    private SysOrgDTO org;
}
